<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Example extends MY_Controller{
	public function __construct(){
        parent::__construct();
		$this->load->library('session');
	}
	public function index(){		
		$data['menu'] = $this->getMenu();
		$this->load->view('example', $data);
	}
}